package com.tuniu.agents.evaluators.common.entity;

import com.tuniu.agents.evaluator.EvaluationResult;

public class EvaluatorResponse {
    private boolean success;
    private String msg;
    private int errorCode;
    private EvaluationResult data;
    public boolean isSuccess() {
        return success;
    }
    public void setSuccess(boolean success) {
        this.success = success;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public int getErrorCode() {
        return errorCode;
    }
    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }
    public EvaluationResult getData() {
        return data;
    }
    public void setData(EvaluationResult data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "{" +
                "success=" + success +
                ", msg='" + msg + '\'' +
                ", errorCode=" + errorCode +
                ", data=" + data.toString() +
                '}';
    }
    

    
}
